home *** CD-ROM | disk | FTP | other *** search
/ ...taking it to the Macs! / ...taking it to the Macs!.iso / Extras / ActiveX Mac SDK / ActiveX SDK / Containers / ActiveXApp / CIdle.cpp < prev    next >
Encoding:
Text File  |  1996-11-01  |  303 b   |  30 lines  |  [TEXT/CWIE]

  1. //
  2. //  idle.cpp
  3. //
  4. //  Copyright (C) Microsoft Corporation, 1996
  5. //
  6.  
  7. #ifdef PowerPlant_PCH
  8. #include PowerPlant_PCH
  9. #endif
  10.  
  11.  
  12. #include <LPeriodical.h>
  13. #include "CIdle.h"
  14.  
  15.  
  16. CIdle::CIdle(void)
  17. {
  18. }
  19.  
  20. CIdle::~CIdle(void)
  21. {
  22.     StopIdling();
  23. }
  24.  
  25. void CIdle::SpendTime(const EventRecord &)
  26. {
  27.     YieldToAnyThread();
  28. }
  29.  
  30.